import request from "../utils/request"
export const getGoods = (num) => {
    if (num == 1) {
        return request.get(`/lists/Goods/flower_express?orderby=date&page=2`, {
            params: {
                num
            }
        })
    } else if (num == 2) {
        return request.get(`/lists/Goods/DanGao?orderby=date&page=2`, {
            params: {
                num
            }
        })
    } else if (num == 3) {
        return request.get(`/lists/Goods/KaiYeHuaLan?orderby=date&page=2`, {
            params: {
                num
            }
        })
    } else if (num == 4) {
        return request.get(`/lists/Goods/LvZhiHuaHui?orderby=date&page=2`, {
            params: {
                num
            }
        })
    } else if (num == 5) {
        return request.get(`/lists/Goods/XiangZaoHuaLiHe?orderby=date&page=2`, {
            params: {
                num
            }
        })
    }else if (num == 6) {
        return request.get(`/lists/Goods/BaoXianHua`, {
            params: {
                num
            }
        })
    }else if (num == 7) {
        return request.get(`/lists/Goods/LiPin`, {
            params: {
                num
            }
        })
    }
}